package com.gitee.wsl.transform.validator.string.ext

import com.gitee.wsl.transform.validator.string.StringValidator
import com.gitee.wsl.transform.validator.string.then

fun StringValidator.allDigit() = then("not all digit"){str->
    str.all { it.isDigit() }
}

